package com.xlh.service.courseTest;

import com.xlh.common.Result;
import com.xlh.dto.PageDTO;
import com.xlh.dto.courseTest.GradeStatisticsListDTO;
import com.xlh.dto.courseTest.check.StudentBaseListDTO;
import com.xlh.dto.courseTest.check.StudentListDTO;
import com.xlh.dto.courseTest.practice.PracticeDTO;
import com.xlh.pojo.courseTest.Practice;

import java.util.List;
import java.util.Map;

/**
 * @author zhr 2019/4/8
 */
public interface GradeStatisticsService {
    PageDTO<GradeStatisticsListDTO> list(Integer pageNum, Integer pageSize, Long courseId, List<Long> classes, String userInfo);

    List<StudentBaseListDTO> listStudentBase(Long courseId, Long userId);
    List<StudentListDTO> listStudentBaseOther(Long userId, Long courseId, Long classId, Long chapterId);
    List<StudentListDTO> listStudentBaseStatistics(Long userId, Long courseId, Long classId, Long chapterId, Integer pageSize, Integer currentPage);
    Result outputList(Long courseId, List<Long> classes, String userInfo);
    void download(List<StudentListDTO> studentListDTOS, String courseName, String chapterName, String classN);

}
